package com.springDemo.AOP.service;

import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2016/7/11.
 */
@Component(value = "pay")
public class PayApiImpl implements IPayApi {
    public void payByRMB( String name ){
        System.out.println("支付操作: "+name);
    }

    public void payByPoint() {
        System.out.println("积分支付操作");
    }

    @Override
    public void payByFace() {
        System.out.println("刷脸卡操作");
    }
}
